const express = require("express");
const bodyParser = require("body-parser");
const userModel = require("./models/usermodel");
const { model } = require("mongoose");
const static = express.static;
let app = express();
app.use(bodyParser.urlencoded({
    extended:false
}))
app.use(bodyParser.json())
app.use(static(__dirname+"/static"));
app.get("/",(req,res)=>{
    res.sendFile(__dirname+"/views/index.html");
})
app.listen(9999);